/**
 * 
 */
$(document).ready(function() {
	$("#submit").click(function(){
		var id = $("#oid").val();
		var state = $("#auditState option:selected").val();
		var feedback = $("#feedback").val();
		var auditer = $("#auditer").val();
		
		$.get(
			"order/editOrder",
			{"id":id,"state":state,"feedback":feedback,"auditer":auditer},
			function(result){
				if(result){
					alert("提交成功");
					window.location.href="initOrderManage";
				}else
					alert("提交失败");
			}
		)
		
		
	});
	$("#reset").click(function(){
		location.reload(true);
	});
	
});